package com.jucai.pppeiyouclient.base;

import android.app.Activity;

import com.jucai.pppeiyouclient.utils.LoginUtils;

import java.util.HashMap;

public class TokenParam {

    private HashMap<String, String> param = new HashMap<>();


    public TokenParam(Activity activity, String service) {

        param.put("service", service);
        param.put("member_id", LoginUtils.getMember_id(activity));
        param.put("token", LoginUtils.getToken(activity));

    }

    public void put(String key, String value) {

        param.put(key, value);

    }

    public HashMap<String, String> getParam() {
        return param;
    }

    public void setParam(HashMap<String, String> param) {
        this.param = param;
    }

}
